<div>
    <div class="row">
        <div class="col-lg-12">
            <div class="ibox ">
                <div class="ibox-title">
                    <h5>查询条件</h5>
                    <div class="ibox-tools" style="top:10px;">
                        <button type="button" class="btn btn-link btn-sm" style="margin-right:10px;"
                            v-on:click="_moreCondition()">{{govFloorManageInfo.moreCondition ==
                            true?'隐藏':'更多'}}</button>
                    </div>
                </div>
                <div class="ibox-content">
                    <div class="row">
                        <div class="col-sm-3">
                            <div class="form-group">
                             
                                <select class="custom-select" v-model="govFloorManageInfo.conditions.govCommunityId" >
                                    <option selected disabled value="">请选择所属小区</option>
                                    <option v-for="(item,index) in govFloorManageInfo.govCommunitys" :value="item.govCommunityId">
                                        {{item.communityName}}</option>
                                    </select>
                            </div>
                        </div>
                        <div class="col-sm-4">
                            <div class="form-group">
                                <input type="text" placeholder="请输入建筑物名称"
                                    v-model="govFloorManageInfo.conditions.floorName" class=" form-control">
                            </div>
                        </div>
                        <div class="col-sm-1">
                            <button type="button" class="btn btn-primary btn-sm" v-on:click="_queryGovFloorMethod()">
                                <i class="glyphicon glyphicon-search"></i> 查询
                            </button>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-sm-4" v-if="govFloorManageInfo.moreCondition == true">
                            <div class="form-group">
                                <select class="custom-select" v-model="govFloorManageInfo.conditions.floorType">
                                    <option selected disabled value="">必填，请选择建筑物类型</option>
                                    <option v-for="(item,index) in govFloorManageInfo.govBuildingTypes" :value="item.typeId">
                                        {{item.typeName}}</option>
                                    </select>
                            </div>
                        </div>
                    </div>


                </div>
            </div>
        </div>
    </div>
    <div class="row">
        <div class="col-lg-12">
            <div class="ibox">
                <div class="ibox-title">
                    <h5>建筑物管理信息</h5>
                    <div class="ibox-tools" style="top:10px;">
                        <button type="button" class="btn btn-primary btn-sm" v-on:click="_openAddGovFloorModal()">
                            <i class="glyphicon glyphicon-plus"></i>
                            添加
                        </button>
                    </div>
                </div>
                <div class="ibox-content">

                    <table class="footable table table-stripped toggle-arrow-tiny" data-page-size="15">
                        <thead>
                            <tr>
                                <th class="text-center">建筑图片</th>
                                <th class="text-center">所属小区</th>
                                <th class="text-center">建筑物编号</th>
                                <th class="text-center">建筑物名称</th>
                                <th class="text-center">建筑物类型</th>
                                <th class="text-center">楼栋面积</th>
                                <th class="text-center">建筑物用途</th>
                                <th class="text-center">责任人</th>
                               
                                <th class="text-center">数据来源</th>
                                <th class="text-center">操作</th>


                            </tr>
                        </thead>
                        <tbody>
                            <tr v-for="govFloor in govFloorManageInfo.govFloors">
                                 <td class="text-center">
                                    <img style="width: 60px; height: 60px; border-radius: 5px;"
                                        v-bind:src="govFloor.floorIcon"></img>
                                </td>
                                <td class="text-center">{{govFloor.communityName}}</td>
                                <td class="text-center">{{govFloor.floorNum}}</td>
                                <td class="text-center">{{govFloor.floorName}}</td>
                                <td class="text-center">{{govFloor.typeName}}</td>
                                <td class="text-center">{{govFloor.floorArea}}</td>
                                <td class="text-center">{{govFloor.floorUse}}</td>
                                <td class="text-center">{{govFloor.personName}}</td>
                               
                                <td class="text-center">{{govFloor.datasourceType == '999999'?'政务系统':'物业系统'}}</td>
                                <td class="text-center">
                                    <div class="btn-group">
                                        <button class="btn-white btn btn-xs"
                                            v-on:click="_openEditGovFloorModel(govFloor)">修改</button>
                                    </div>
                                    <div class="btn-group">
                                        <button class="btn-white btn btn-xs"
                                            v-on:click="_openDeleteGovFloorModel(govFloor)">删除</button>
                                    </div>
                                </td>

                            </tr>
                        </tbody>
                        <tfoot>
                            <tr>
                                <td colspan="7">
                                    <ul class="pagination float-right"></ul>
                                </td>
                            </tr>
                        </tfoot>
                    </table>
                    <!-- 分页 -->
                    <vc:create path="frame/pagination"></vc:create>
                </div>
            </div>
        </div>
    </div>



    <vc:create path="gov/addGovFloor" callBackListener="" callBackFunction=""></vc:create>
    <vc:create path="gov/editGovFloor"></vc:create>
    <vc:create path="gov/deleteGovFloor"></vc:create>

</div>